package com.tanhua.dubbointerface.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tanhua.model.domain.BlackList;
import com.tanhua.model.domain.UserInfo;

public interface BlackListApi {

    /**
     * 分页查询
     * @param userId
     * @param page
     * @param pagesize
     * @return
     */
    IPage<UserInfo> getPage(Long userId, int page, int pagesize);

    /**
     * 通过userId获得BlackList对象
     *
     * @return
     */
    BlackList findByUserId(Long uid);
}
